Private
Public Access
1
0

bug fix typo user is auth

This commit is contained in:
Sander Roosendaal
2018-07-06 16:29:18 +02:00
parent 5dec4db71e
commit e544d5844b

View File

@@ -918,7 +918,7 @@ def hasplannedsessions(user):
result = user.is_authenticated() and (r.rowerplan=='coach' or r.rowerplan=='plan')
if not result and r.plantrialexpires:
result = user.is_authenticaded() and r.rowerplan=='basic' and r.plantrialexpires >= datetime.date.today()
result = user.is_authenticated() and r.rowerplan=='basic' and r.plantrialexpires >= datetime.date.today()
else:
result = False