From 946f4022494d1018930fdca807a420666b2cb372 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 17 2014 14:36:14 +0000 Subject: Fix typo, users have no username --- diff --git a/progit/app.py b/progit/app.py index d51fe60..de8fb34 100644 --- a/progit/app.py +++ b/progit/app.py @@ -215,7 +215,7 @@ def user_settings(): user=user, ssh_key=ssh_key, ) - generate_gitolite_key(user.username, ssh_key) + generate_gitolite_key(user.user, ssh_key) SESSION.commit() flask.flash(message) return flask.redirect(