We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a2468 commit 316f605Copy full SHA for 316f605
conditional/blueprints/member_management.py
@@ -290,8 +290,10 @@ def member_management_getuserinfo(uid):
290
if not ldap_is_eval_director(user_name) and not ldap_is_financial_director(user_name):
291
return "must be eval or financial director", 403
292
293
- acct = FreshmanAccount.query.filter(
294
- FreshmanAccount.id == uid).first()
+ acct = None
+ if uid.isnumeric():
295
+ acct = FreshmanAccount.query.filter(
296
+ FreshmanAccount.id == uid).first()
297
298
# missed hm
299
def get_hm_date(hm_id):
0 commit comments