commit
2af1f19f7b
|
@ -144,7 +144,7 @@ class Device(db.Model):
|
||||||
self.name = name
|
self.name = name
|
||||||
self.configuration = configuration
|
self.configuration = configuration
|
||||||
self.device_type_id = device_type
|
self.device_type_id = device_type
|
||||||
self.secret_algorithm = 'sha512'
|
self.secret_algorithm = 'sha256'
|
||||||
self.device_secret = token_urlsafe(32)
|
self.device_secret = token_urlsafe(32)
|
||||||
|
|
||||||
def save(self):
|
def save(self):
|
||||||
|
|
|
@ -2,7 +2,7 @@ import os
|
||||||
|
|
||||||
# App configuration
|
# App configuration
|
||||||
DEBUG = os.environ['DEBUG']
|
DEBUG = os.environ['DEBUG']
|
||||||
APP_VERSION = '0.4.4'
|
APP_VERSION = '0.4.5'
|
||||||
APP_RELEASE_VERSION_STRING = (os.environ.get('HEROKU_RELEASE_VERSION')
|
APP_RELEASE_VERSION_STRING = (os.environ.get('HEROKU_RELEASE_VERSION')
|
||||||
or 'Unknown')
|
or 'Unknown')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue