Skip to content

Commit 1dd5f32

Browse files
authored
fix(googleauth): ensure newline is preserved in repl of file.replace
1 parent 8dce714 commit 1dd5f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

users/googleauth.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ users_{{ users.googleauth_dir }}:
1919
{%- if 'google_auth' in user %}
2020
{%- for svc in user['google_auth'] %}
2121
{%- if user.get('google_2fa', True) %}
22-
{%- set repl = '{0} {1} {2} {3} {4}{5}/{6}_{7} {8}\n{9}'.format(
22+
{%- set repl = '{0} {1} {2} {3} {4}{5}/{6}_{7} {8}\\n{9}'.format(
2323
'auth',
2424
'[success=done new_authtok_reqd=done default=die]',
2525
'pam_google_authenticator.so',

0 commit comments

Comments
 (0)