switch group to role
This commit is contained in:
parent
4bc158c28b
commit
8ee8025046
2 changed files with 1 additions and 3 deletions
|
@ -80,8 +80,6 @@ class User(db.Model, UserMixin):
|
|||
country = db.Column(db.String, default='BG')
|
||||
phone = db.Column(db.String)
|
||||
|
||||
group = db.Column(db.String, default='User')
|
||||
|
||||
inv_items = db.relationship('Item', backref='owner', lazy='dynamic')
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="panel-body">
|
||||
<p>
|
||||
<b>Member Since:</b> {{ moment(current_user.member_since).fromNow() }}<br />
|
||||
<b>Group:</b> {{ current_user.group }}<br />
|
||||
<b>Role:</b> {{ current_user.role }}<br />
|
||||
<b>2-Factor:</b> {{ current_user.twofactor }}<br />
|
||||
<a href="/auth/change-password">Change Password</a>
|
||||
</p>
|
||||
|
|
Loading…
Reference in a new issue