File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
compiler_admin/commands/user Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 44from compiler_admin .commands .user .reset import reset
55from compiler_admin .services .google import (
66 OU_ALUMNI ,
7+ USER_HELLO ,
78 CallGAMCommand ,
89 move_user_ou ,
910 user_account_name ,
@@ -68,4 +69,22 @@ def alumni(args: Namespace) -> int:
6869 command = ("user" , account , "turnoff2sv" )
6970 res += CallGAMCommand (command )
7071
72+ print ("Resetting email signature" )
73+ # https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Gmail-Send-As-Signature-Vacation#manage-signature
74+ command = (
75+ "user" ,
76+ account ,
77+ "signature" ,
78+ f"Compiler LLC<br />https://compiler.la<br />{ USER_HELLO } " ,
79+ "replyto" ,
80+ USER_HELLO ,
81+ "default" ,
82+ "treatasalias" ,
83+ "false" ,
84+ "name" ,
85+ "Compiler LLC" ,
86+ "primary" ,
87+ )
88+ res += CallGAMCommand (command )
89+
7190 return res
You can’t perform that action at this time.
0 commit comments