[otrs] Customer self registration link

106 views
Skip to first unread message

Mikael Kermorgant

unread,
Jul 5, 2011, 9:05:40 AM7/5/11
to User questions and discussions about OTRS.
Hello,

Using otrs 3.0.7, I'd like to have customers auth against 3 backends :
basic http, ldap and local database.

Moreover, I want to enable self registration in the local database.
This works by default, but as soon as I setup basic auth and ldap auth
(plus adapted backends), the link on the login page disappears.

"Output/HTML/Standard/CustomerLogin.dtl"
<!-- dtl:block:CreateAccountLink -->
<p>$Text{"Not yet registered?"} <a
href="#Signup">$Text{"Sign up now"}</a>.</p>
<!-- dtl:block:CreateAccountLink -->

Do somebody know how to get it back ?

Regards

--
Mikael Kermorgant
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Mikael Kermorgant

unread,
Jul 7, 2011, 11:49:15 AM7/7/11
to User questions and discussions about OTRS.
On Tue, Jul 5, 2011 at 3:05 PM, Mikael Kermorgant
<mikael.k...@gmail.com> wrote:
> Hello,
>
> Using otrs 3.0.7, I'd like to have customers auth against 3 backends :
> basic http, ldap and local database.
>
> Moreover, I want to enable self registration in the local database.
> This works by default, but as soon as I setup basic auth and ldap auth
> (plus adapted backends), the link on the login page disappears.
>
> "Output/HTML/Standard/CustomerLogin.dtl"
> <!-- dtl:block:CreateAccountLink -->
>                <p>$Text{"Not yet registered?"} <a
> href="#Signup">$Text{"Sign up now"}</a>.</p>
> <!-- dtl:block:CreateAccountLink -->
>
> Do somebody know how to get it back ?

Hello,

Maybe someone would have an answer if I reformulate the question this way :

I've setup http basic auth in a non blocking way. If a user is
authenticated in apache's realm, he logs in directly in otrs.
But if he's not, he's presented to otrs's login screen.

Problem is that he's greeted with this message : "Login failed! Your
user name or password was entered incorrectly."
That's a bit weird as he hasn't typed anything.

Would there something to avoid this and present him the usual login screen ?
Maybe use $Self->{CustomerPanelLoginURL} with special arguments ?

Any idea ?

Regards,

Mikael Kermorgant

unread,
Jul 8, 2011, 6:50:07 AM7/8/11
to User questions and discussions about OTRS.
On Thu, Jul 7, 2011 at 5:49 PM, Mikael Kermorgant
<mikael.k...@gmail.com> wrote:
>
> Maybe someone would have an answer if I reformulate the question this way :
>
> I've setup http basic auth in a non blocking way. If a user is
> authenticated in apache's realm, he logs in directly in otrs.
> But if he's not, he's presented to otrs's login screen.
>
> Problem is that he's greeted with this message : "Login failed! Your
> user name or password was entered incorrectly."
> That's a bit weird as he hasn't typed anything.
>
> Would there something to avoid this and present him the usual login screen ?
> Maybe use $Self->{CustomerPanelLoginURL}  with special arguments ?


Still no solution, so I'd like to try to setup an alternate url (with
$Self->{CustomerPanelLoginURL}) for login in after a failed attempt
with http basic auth.

I could just setup a plain html page but first, I'd like to know if
there's a better/easier way ?
Any advice ?

Regards

Reply all
Reply to author
Forward
0 new messages