Skip to content
Snippets Groups Projects
Unverified Commit 6417c3b7 authored by syuilo's avatar syuilo Committed by GitHub
Browse files

Merge pull request #1297 from rinsuki/fix/1296-broken

#1296 で壊してしまったのを直した
parents d2305039 ff8b8df0
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ export default Vue.extend({
(this as any).api('signin', {
username: this.username,
password: this.password,
token: this.user && this.user.two_factor_enabled ? this.token : undefined
token: this.user && this.user.account.two_factor_enabled ? this.token : undefined
}).then(() => {
location.reload();
}).catch(() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment