Added local accounts

This commit is contained in:
2016-04-26 12:33:48 +02:00
parent aa47c2b4a6
commit 2a2d35827c
6 changed files with 182 additions and 9 deletions

View File

@@ -85,11 +85,13 @@ users_schema = {
'schema': {
'provider': {
'type': 'string',
'allowed': ["blender-id",],
'allowed': ["blender-id", "local"],
},
'user_id' : {
'user_id': {
'type': 'string'
},
# A token is considered a "password" in case the provider is
# "local".
'token': {
'type': 'string'
}
@@ -360,7 +362,6 @@ tokens_schema = {
'is_subclient_token': {
'type': 'boolean',
'required': False,
'default': False,
}
}