Skip to content

Commit

Permalink
Set correct default values for user creation in the backend also in t…
Browse files Browse the repository at this point in the history
…he sample_learn.sql sample data (#13127)

The default value for the useractivation param is 2
https://github.com/joomla/joomla-cms/blob/3.6.4/administrator/components/com_users/config.xml#L45-L68
  • Loading branch information
AlexRed authored and wilsonge committed Dec 11, 2016
1 parent 0ca9467 commit 6a169d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installation/sql/mysql/sample_learn.sql
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,6 @@ INSERT IGNORE INTO `#__viewlevels` (`id`, `title`, `ordering`, `rules`) VALUES
(5, 'Guest', 1, '[13]'),
(6, 'Super Users', 5, '[8]');

UPDATE `#__extensions` SET `params`='{"allowUserRegistration":"0","new_usertype":"2","guest_usergroup":"13","sendpassword":"1","useractivation":"1","mail_to_admin":"0","captcha":"","frontend_userparams":"1","site_language":"0","change_login_name":"0","reset_count":"10","reset_time":"1","mailSubjectPrefix":"","mailBodySuffix":"","save_history":"1","history_limit":5}' WHERE extension_id=25;
UPDATE `#__extensions` SET `params`='{"allowUserRegistration":"0","new_usertype":"2","guest_usergroup":"13","sendpassword":"1","useractivation":"2","mail_to_admin":"0","captcha":"","frontend_userparams":"1","site_language":"0","change_login_name":"0","reset_count":"10","reset_time":"1","mailSubjectPrefix":"","mailBodySuffix":"","save_history":"1","history_limit":5}' WHERE extension_id=25;

SET FOREIGN_KEY_CHECKS=1;

0 comments on commit 6a169d9

Please sign in to comment.