Only users with verified emails are allowed to create new jobs
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
class SessionsController < ApplicationController
|
||||
skip_before_action :authenticate_user!, only: %i[ new create ]
|
||||
skip_before_action :verified_user!
|
||||
skip_verify_authorized only: [ :index, :new, :create, :destroy ]
|
||||
|
||||
before_action :set_session, only: :destroy
|
||||
|
||||
Reference in New Issue
Block a user