Project

General

Profile

Actions

Defect #18009

closed

model .rb file not matching model's class name in Alternativecustom_authentication_HowTo

Added by Sylvain V about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

here: http://www.redmine.org/projects/redmine/wiki/Alternativecustom_authentication_HowTo

The doc said:

Implement Your AuthSource Subclass
Create a new file for your AuthSource subclass in app/models/, following the naming scheme of the existing auth_source.rb and auth_source_ldap.rb.

  • Here we'll use app/models/auth_source_myApp.rb

The exact filename should match the Class name: AuthSourceMyCustomApp

Correct filename is: app/models/auth_source_my_custom_app.rb

Actions

Also available in: Atom PDF