forked from mystiq/hydrogen-web
Split logintoken into two words
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
04806a1425
commit
84fd286140
1 changed files with 2 additions and 2 deletions
|
@ -55,13 +55,13 @@ export class CompleteSSOLoginViewModel extends ViewModel {
|
||||||
let error = "";
|
let error = "";
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case LoginFailure.Credentials:
|
case LoginFailure.Credentials:
|
||||||
error = this.i18n`Your logintoken is invalid.`;
|
error = this.i18n`Your login token is invalid.`;
|
||||||
break;
|
break;
|
||||||
case LoginFailure.Connection:
|
case LoginFailure.Connection:
|
||||||
error = this.i18n`Can't connect to ${homeserver}.`;
|
error = this.i18n`Can't connect to ${homeserver}.`;
|
||||||
break;
|
break;
|
||||||
case LoginFailure.Unknown:
|
case LoginFailure.Unknown:
|
||||||
error = this.i18n`Something went wrong while checking your logintoken.`;
|
error = this.i18n`Something went wrong while checking your login token.`;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (error) {
|
if (error) {
|
||||||
|
|
Loading…
Reference in a new issue