Enable permanent sessions

Fixes #1955
This commit is contained in:
Joseph Schorr 2016-10-10 13:00:59 -04:00
parent 0954240ccb
commit 3a473cad2a
5 changed files with 52 additions and 5 deletions

View file

@ -562,7 +562,7 @@ class Signin(ApiResource):
'invite_code': {
'type': 'string',
'description': 'The optional invite code'
}
},
},
},
}
@ -579,7 +579,6 @@ class Signin(ApiResource):
username = signin_data['username']
password = signin_data['password']
invite_code = signin_data.get('invite_code', '')
return conduct_signin(username, password, invite_code=invite_code)