Bugzilla – Attachment 143454 Details for
Bug 32139
"Update on login" setting not set when creating domain from new IdP page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32139: Set "update on login" correctly when creating new IdP
Bug-32139-Set-update-on-login-correctly-when-creat.patch (text/plain), 1.62 KB, created by
David Cook
on 2022-11-09 02:03:41 UTC
(
hide
)
Description:
Bug 32139: Set "update on login" correctly when creating new IdP
Filename:
MIME Type:
Creator:
David Cook
Created:
2022-11-09 02:03:41 UTC
Size:
1.62 KB
patch
obsolete
>From cd4cbb74f0d9b213f45761115ae434ff4b49115a Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Wed, 9 Nov 2022 01:59:28 +0000 >Subject: [PATCH] Bug 32139: Set "update on login" correctly when creating new > IdP > >This patches allows "Update on Login" to be set to "Yes" when >creating a domain as part of a new Identity Provider. > >Test plan: >1) Apply patch >2) koha-plack --reload kohadev >3) Go to http://localhost:8081/cgi-bin/koha/admin/identity_providers.pl >4) Click "New identity provider" >5) Fill in "Code" and "Description" with "test" >6) Click "Add default OAuth configuration" >7) Click "Add default OAUth mapping" >8) Fill in "Domain" with "*" >9) Change "Allow OPAC", "Allow staff", "Auto register", and "Update on login" >to "Yes" >10) Click "Submit" >11) Click "Manage Domains" for your new Identity Provider >12) Note that "Allow opac", "Allow staff", "Auto register", and "Update on login" >are all set to "Yes" >--- > admin/identity_providers.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/admin/identity_providers.pl b/admin/identity_providers.pl >index 9a5f0cd786..d663d82890 100644 >--- a/admin/identity_providers.pl >+++ b/admin/identity_providers.pl >@@ -67,7 +67,7 @@ if ( !$domain_ops && $op eq 'add' ) { > my $default_category_id = $input->param('default_category_id'); > my $default_library_id = $input->param('default_library_id'); > my $domain = $input->param('domain'); >- my $update_on_auth = $input->param('update_on_$update_on_auth'); >+ my $update_on_auth = $input->param('update_on_auth'); > > try { > Koha::Database->new->schema->txn_do( >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32139
:
143454
|
143523