forked from vikunja/frontend
Compare commits
1 Commits
main
...
feature/lo
Author | SHA1 | Date | |
---|---|---|---|
e108b3a2fe |
|
@ -128,7 +128,7 @@ describe('Task', () => {
|
||||||
cy.visit(`/tasks/${tasks[0].id}`)
|
cy.visit(`/tasks/${tasks[0].id}`)
|
||||||
|
|
||||||
cy.get('.task-view .action-buttons .button')
|
cy.get('.task-view .action-buttons .button')
|
||||||
.contains('Mark task done!')
|
.contains('Done!')
|
||||||
.click()
|
.click()
|
||||||
|
|
||||||
cy.get('.task-view .heading .is-done')
|
cy.get('.task-view .heading .is-done')
|
||||||
|
|
|
@ -50,7 +50,8 @@
|
||||||
"authenticating": "Authenticating…",
|
"authenticating": "Authenticating…",
|
||||||
"openIdStateError": "State does not match, refusing to continue!",
|
"openIdStateError": "State does not match, refusing to continue!",
|
||||||
"openIdGeneralError": "An error occured while authenticating against the third party.",
|
"openIdGeneralError": "An error occured while authenticating against the third party.",
|
||||||
"logout": "Logout"
|
"logout": "Logout",
|
||||||
|
"remember": "Stay logged in"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"title": "Settings",
|
"title": "Settings",
|
||||||
|
@ -545,7 +546,7 @@
|
||||||
"chooseStartDate": "Click here to set a start date",
|
"chooseStartDate": "Click here to set a start date",
|
||||||
"chooseEndDate": "Click here to set an end date",
|
"chooseEndDate": "Click here to set an end date",
|
||||||
"move": "Move task to a different list",
|
"move": "Move task to a different list",
|
||||||
"done": "Mark task done!",
|
"done": "Done!",
|
||||||
"undone": "Mark as undone",
|
"undone": "Mark as undone",
|
||||||
"created": "Created {0} by {1}",
|
"created": "Created {0} by {1}",
|
||||||
"updated": "Updated {0}",
|
"updated": "Updated {0}",
|
||||||
|
@ -781,7 +782,7 @@
|
||||||
"then": "then",
|
"then": "then",
|
||||||
"task": {
|
"task": {
|
||||||
"title": "Task Page",
|
"title": "Task Page",
|
||||||
"done": "Done",
|
"done": "Mark a task as done",
|
||||||
"assign": "Assign to a user",
|
"assign": "Assign to a user",
|
||||||
"labels": "Add labels to this task",
|
"labels": "Add labels to this task",
|
||||||
"dueDate": "Change the due date of this task",
|
"dueDate": "Change the due date of this task",
|
||||||
|
|
|
@ -93,6 +93,7 @@ export default {
|
||||||
const data = {
|
const data = {
|
||||||
username: credentials.username,
|
username: credentials.username,
|
||||||
password: credentials.password,
|
password: credentials.password,
|
||||||
|
long_token: credentials.longToken,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (credentials.totpPasscode) {
|
if (credentials.totpPasscode) {
|
||||||
|
|
|
@ -55,6 +55,12 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</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="field is-grouped login-buttons">
|
||||||
<div class="control is-expanded">
|
<div class="control is-expanded">
|
||||||
|
@ -114,6 +120,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
confirmedEmailSuccess: false,
|
confirmedEmailSuccess: false,
|
||||||
errorMessage: '',
|
errorMessage: '',
|
||||||
|
rememberMe: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeMount() {
|
beforeMount() {
|
||||||
|
@ -186,6 +193,7 @@ export default {
|
||||||
const credentials = {
|
const credentials = {
|
||||||
username: this.$refs.username.value,
|
username: this.$refs.username.value,
|
||||||
password: this.$refs.password.value,
|
password: this.$refs.password.value,
|
||||||
|
longToken: this.rememberMe,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.needsTotpPasscode) {
|
if (this.needsTotpPasscode) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user