Build with filtered source

Further nixos module fixes
Add tailwind and esbuild to assets build
Handle domain on session cookies correctly
This commit is contained in:
bluepython508 committed 2023-11-10 20:53:21 +00:00
1 parent cf9cb3eff5
commit 92edb025fb
7 files changed
+57 -19

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ defmodule SsoBsn.Accounts.UserToken do
end
def build_login_token(user) do
token = Base.encode64(:crypto.strong_rand_bytes(@rand_size))
token = Base.url_encode64(:crypto.strong_rand_bytes(@rand_size))
{token, %UserToken{token: token, context: "login", user_id: user.id}}
end