fix: Force all endpoints to use same pow key
This commit is contained in:
		
							parent
							
								
									1f19aa6383
								
							
						
					
					
						commit
						cd9b84488e
					
				
					 4 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -57,6 +57,6 @@ defmodule Legendary.Admin.Endpoint do
 | 
			
		|||
  plug Plug.MethodOverride
 | 
			
		||||
  plug Plug.Head
 | 
			
		||||
  plug Plug.Session, @session_options
 | 
			
		||||
  plug Pow.Plug.Session
 | 
			
		||||
  plug Pow.Plug.Session, otp_app: :core
 | 
			
		||||
  plug Legendary.Admin.Router
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -63,7 +63,7 @@ defmodule AppWeb.Endpoint do
 | 
			
		|||
  plug Plug.MethodOverride
 | 
			
		||||
  plug Plug.Head
 | 
			
		||||
  plug Plug.Session, @session_options
 | 
			
		||||
  plug Pow.Plug.Session
 | 
			
		||||
  plug Pow.Plug.Session, otp_app: :core
 | 
			
		||||
  plug PowPersistentSession.Plug.Cookie
 | 
			
		||||
  plug AppWeb.Router
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,6 +57,6 @@ defmodule Legendary.Content.Endpoint do
 | 
			
		|||
  plug Plug.MethodOverride
 | 
			
		||||
  plug Plug.Head
 | 
			
		||||
  plug Plug.Session, @session_options
 | 
			
		||||
  plug Pow.Plug.Session
 | 
			
		||||
  plug Pow.Plug.Session, otp_app: :core
 | 
			
		||||
  plug Legendary.Content.Router
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -63,7 +63,7 @@ defmodule Legendary.CoreWeb.Endpoint do
 | 
			
		|||
  plug Plug.MethodOverride
 | 
			
		||||
  plug Plug.Head
 | 
			
		||||
  plug Plug.Session, @session_options
 | 
			
		||||
  plug Pow.Plug.Session
 | 
			
		||||
  plug Pow.Plug.Session, otp_app: :core
 | 
			
		||||
  plug PowPersistentSession.Plug.Cookie
 | 
			
		||||
  plug Legendary.CoreWeb.Router
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue