Skip to content

Commit

Permalink
remove CurrentUser pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
damianham committed Apr 4, 2020
1 parent d08f1a7 commit 3822d8d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/config/routes.cr
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ Amber::Server.configure do |app|
plug Amber::Pipe::Flash.new
plug Amber::Pipe::CSRF.new

plug CurrentUser.new

# enable this pipe for JWT support however you need a User model
# 'amber g auth User' will create a User model and signin/signup routes
# it will also add 'plug Authenticate.new' which you should disable
Expand Down

0 comments on commit 3822d8d

Please sign in to comment.