Commit Graph

6 Commits (dead2a9b2dc0ec22c0b7c53a17de7b4ce64a2680)

Author SHA1 Message Date
Lunny Xiao 1645d4a5d8
Use ID or Where to instead directly use Get when load object from database ()
* Use ID or Where to instead directly use Get when load object from database

* Apply suggestions from code review

Co-authored-by: 6543 <6543@obermui.de>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Filip Navara 9b2fcadeef Fix SQL quoting ()
`show` is keyword in MySQL and has to be quoted to reference a column name. Use grave accents (ASCII code 96) for quoting to match rest of the source code. It's non-standard SQL, but it's supported by SQLite and MySQL.

Signed-off-by: Filip Navara <navara@emclient.com>
Ethan Koenig aa962deec0 Replace deprecated Id method with ID ()
Sandro Santilli f73e734411 Run "make fmt" with go-1.6 ()
Sandro Santilli 9182a35f18 Show user OpenID URIs in their profile ()
Sandro Santilli 71d16f69ff Login via OpenID-2.0 ()