Commit Graph

8 Commits

Author SHA1 Message Date
Adhityaa Chandrasekar
a05d8eeb07 commenter_get.go: clean up SQL 2020-01-02 14:19:44 -08:00
Dave
042fda0e8c commenter_get.go: single query commenterGetByCommenterToken
Closes https://gitlab.com/commento/commento/merge_requests/125
2020-01-02 14:19:41 -08:00
Adhityaa Chandrasekar
a22b49a112 commenter_get.go: add TODO comment 2019-02-18 17:34:43 -05:00
Adhityaa
ef0f45527a everywhere: use different session cookie names
If the user is hosting the dashboard in the same domain as
their blog (with a nginx suburi, for example), the two session
cookies clash; logging into one service logs you out of the other.
With this patch, both have separate names.

Fixes https://gitlab.com/commento/commento-ce/issues/49
2018-06-20 08:59:55 +05:30
Adhityaa
36f281ec44 commenter_get.go: add spaces around SQL WHERE 2018-06-07 13:11:33 +05:30
Adhityaa
d75c882882 api: replace commenterIsProviderUser 2018-06-07 13:11:02 +05:30
Adhityaa
16e3c926fe commenter_get.go: ret error on non-existant user 2018-06-06 22:51:36 +05:30
Adhityaa
a090770b73 api: Add go files
I know this is a huge commit, but I can't be bothered to check
this in part by part.
2018-05-27 23:40:46 +05:30