set up user session on login
This commit is contained in:
parent
b2ecec7808
commit
c7aa8aaad7
4 changed files with 27 additions and 15 deletions
|
|
@ -2,7 +2,7 @@ let f ?nick ?password request =
|
|||
|
||||
% begin match nick, password with
|
||||
% | Some nick, Some password ->
|
||||
% begin match User.login ~nick ~password with
|
||||
% begin match User.login ~nick ~password request with
|
||||
% | Error e ->
|
||||
Error: <%s e %>
|
||||
% | Ok () ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue