After "mix phx.gen.auth Admins Admin admins" with added working register and login path.

This commit is contained in:
2026-02-20 13:09:55 +01:00
parent a47931f40e
commit 53d19a3a18
28 changed files with 2830 additions and 0 deletions

View File

@ -7,6 +7,19 @@
# General application configuration
import Config
config :beet_round_server, :scopes,
admin: [
default: false,
module: BeetRoundServer.Admins.Scope,
assign_key: :current_scope,
access_path: [:admin, :id],
schema_key: :admin_id,
schema_type: :binary_id,
schema_table: :admins,
test_data_fixture: BeetRoundServer.AdminsFixtures,
test_setup_helper: :register_and_log_in_admin
]
config :beet_round_server, :scopes,
user: [
default: true,