10000 Disable Admin Login for Demo · brusmax/demo.activeadmin.info@8b21db8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8b21db8

Browse files
committed
Disable Admin Login for Demo
1 parent 9f0cdf6 commit 8b21db8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/initializers/active_admin.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#
3333
# This setting changes the method which Active Admin calls
3434
# within the controller.
35< 7E82 code class="diff-text syntax-highlighted-line deletion">-
config.authentication_method = :authenticate_admin_user!
35+
config.authentication_method = false # Disabled for demo
3636

3737

3838
# == Current User
@@ -42,7 +42,7 @@
4242
#
4343
# This setting changes the method which Active Admin calls
4444
# to return the currently logged in user.
45-
config.current_user_method = :current_admin_user
45+
config.current_user_method = false # Disabled for demo
4646

4747

4848
# == Admin Notes

0 commit comments

Comments
 (0)
0