nailed it

master
Serge Bazanski 2019-06-01 17:59:10 +02:00
parent f5c4c55f20
commit 23483292c5
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ def login():
flash('Invalid username or password')
return render_template('login_oauth.html', form=form, next=next)
user = LDAPUserProxy(username)
if not user.active:
if not user.is_active:
flash('User inactive - have you paid your membership fees?')
return render_template('login_oauth.html', form=form, next=next)