mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-28 15:07:53 +00:00
[Bugfix] Login Modal (#2903)
If this PR fixes an issue, link it below. If not, delete these two lines. Resolves #2889 ## Description: fixes login in modal: <img width="782" height="330" alt="image" src="https://github.com/user-attachments/assets/60f1825f-5678-4853-a78b-bbed5198b0fb" /> (theres also one more afterwards but that leaks my email and cba to edit it out) ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: w.o.n
This commit is contained in:
+2
-2
@@ -687,7 +687,7 @@ class Client {
|
||||
// in case it is unset during reload.
|
||||
this.userSettings.setSelectedPatternName(patternName);
|
||||
});
|
||||
this.tokenLoginModal.open(token);
|
||||
this.tokenLoginModal.openWithToken(token);
|
||||
} else {
|
||||
alertAndStrip(`purchase succeeded: ${patternName}`);
|
||||
this.patternsModal.refresh();
|
||||
@@ -706,7 +706,7 @@ class Client {
|
||||
}
|
||||
|
||||
strip();
|
||||
this.tokenLoginModal.open(token);
|
||||
this.tokenLoginModal.openWithToken(token);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user