Only users with verified emails are allowed to create new jobs
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
class Identity::EmailVerificationsController < ApplicationController
|
||||
skip_before_action :authenticate_user!, only: :show
|
||||
skip_before_action :verified_user!
|
||||
skip_verify_authorized
|
||||
|
||||
before_action :set_user, only: :show
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
class Identity::EmailsController < ApplicationController
|
||||
skip_before_action :verified_user!
|
||||
skip_verify_authorized
|
||||
|
||||
before_action :set_user
|
||||
|
||||
def edit
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
class Identity::PasswordResetsController < ApplicationController
|
||||
skip_before_action :authenticate_user!
|
||||
skip_verify_authorized
|
||||
|
||||
before_action :set_user, only: %i[ edit update ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user