Compare commits
1 Commits
main
...
feature/lo
Author | SHA1 | Date | |
---|---|---|---|
e108b3a2fe |
|
@ -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) {
|
||||
|
|
Reference in New Issue
Block a user