Fix ssl verify error.
This commit is contained in:
parent
f1e313aed6
commit
46ea4b9357
|
@ -1,4 +1,6 @@
|
|||
class SsoLoginBoxController < SessionsController
|
||||
require 'openssl'
|
||||
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
|
||||
def ntnu_oauth2_sign_in
|
||||
# receive code from ntnu
|
||||
code = params[:code]
|
||||
|
|
Loading…
Reference in New Issue