This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
3 changed files with
11 additions and
1 deletions
|
|
|
@ -50,7 +50,8 @@
|
|
|
|
|
"authenticating": "Authenticating…",
|
|
|
|
|
"openIdStateError": "State does not match, refusing to continue!",
|
|
|
|
|
"openIdGeneralError": "An error occured while authenticating against the third party.",
|
|
|
|
|
"logout": "Logout"
|
|
|
|
|
"logout": "Logout",
|
|
|
|
|
"remember": "Stay logged in"
|
|
|
|
|
},
|
|
|
|
|
"settings": {
|
|
|
|
|
"title": "Settings",
|
|
|
|
|
|
|
|
@ -93,6 +93,7 @@ export default {
|
|
|
|
|
const data = {
|
|
|
|
|
username: credentials.username,
|
|
|
|
|
password: credentials.password,
|
|
|
|
|
long_token: credentials.longToken,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (credentials.totpPasscode) {
|
|
|
|
|
|
|
|
@ -55,6 +55,12 @@
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="field">
|
|
|
|
|
<label class="label">
|
|
|
|
|
<input type="checkbox" v-model="rememberMe" class="mr-1"/>
|
|
|
|
|
{{ $t('user.auth.remember') }}
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="field is-grouped login-buttons">
|
|
|
|
|
<div class="control is-expanded">
|
|
|
|
@ -114,6 +120,7 @@ export default {
|
|
|
|
|
return {
|
|
|
|
|
confirmedEmailSuccess: false,
|
|
|
|
|
errorMessage: '',
|
|
|
|
|
rememberMe: false,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
beforeMount() {
|
|
|
|
@ -186,6 +193,7 @@ export default {
|
|
|
|
|
const credentials = {
|
|
|
|
|
username: this.$refs.username.value,
|
|
|
|
|
password: this.$refs.password.value,
|
|
|
|
|
longToken: this.rememberMe,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (this.needsTotpPasscode) {
|
|
|
|
|