smartocci / modulr_open_id_authenticator

Modular Open Id Authenticator for Modulr Authentication

This URL has Read+Write access

modulr_open_id_authenticator / install.rb
100644 21 lines (18 sloc) 0.719 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Install hook code here
puts "######################################"
puts "Checking for dependencies"
puts "######################################"
begin
  puts "Youser Authentication plugin....[PASS]"
  require 'youser_authentication'
  
rescue
  puts "Youser Authentication plugin....[FAIL]"
  puts "Ensure you have Youser Authentication before using, visit (http://github.com/smartocci/youser_authentication/tree/master)"
end
 
begin
  puts "Open ID Authentication plugin....[PASS]"
  require 'open_id_authentication'
  
rescue
  puts "Open ID Authentication plugin....[FAIL]"
  puts "Ensure you have Youser Authentication before using, visit (http://github.com/smartocci/youser_authentication/tree/master)"
end