fix login link
@@ -731,7 +731,7 @@ func wrapperReadBody(b *OGame, resp *http.Response) ([]byte, error) {
}
func getLoginLink(b *OGame, userAccount account, token string) (string, error) {
- ogURL := fmt.Sprintf("https://"+b.lobby+".ogame.gameforge.com/api/users/me/loginLink?id=%d&server[language]=%s&server[number]=%d",
+ ogURL := fmt.Sprintf("https://"+b.lobby+".ogame.gameforge.com/api/users/me/loginLink?id=%d&server[language]=%s&server[number]=%d&clickedButton=account_list",
userAccount.ID, userAccount.Server.Language, userAccount.Server.Number)
req, err := http.NewRequest("GET", ogURL, nil)
if err != nil {
