forked from twinslash/redmine_omniauth_google
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.rb
18 lines (16 loc) · 566 Bytes
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'redmine'
#require_dependency 'redmine_omniauth_google/hooks'
Redmine::Plugin.register :redmine_omniauth_google do
name 'Redmine Omniauth Google plugin'
author 'Dmitry Kovalenok'
description 'This is a plugin for Redmine registration through google'
version '0.0.1'
url 'https://github.com/twinslash/redmine_omniauth_google'
author_url 'http://twinslash.com'
settings :default => {
:client_id => "",
:client_secret => "",
:oauth_autentification => false,
:allowed_domains => ""
}, :partial => 'settings/google_settings'
end