Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
redmine-oauth
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyECP
redmine-oauth
Commits
6b2deedb
Commit
6b2deedb
authored
Aug 07, 2014
by
Serge Ahranovich
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14 from ncsuarc/account_pending
Add argument to account_pending
parents
0af14640
c46e286b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
app/controllers/redmine_oauth_controller.rb
app/controllers/redmine_oauth_controller.rb
+7
-1
No files found.
app/controllers/redmine_oauth_controller.rb
View file @
6b2deedb
...
...
@@ -71,7 +71,13 @@ class RedmineOauthController < AccountController
if
user
.
active?
successful_authentication
(
user
)
else
account_pending
# Redmine 2.4 adds an argument to account_pending
if
Redmine
::
VERSION
::
MAJOR
>
2
or
(
Redmine
::
VERSION
::
MAJOR
==
2
and
Redmine
::
VERSION
::
MINOR
>=
4
)
account_pending
(
user
)
else
account_pending
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment