Don't send personalised information to sender
This commit is contained in:
parent
9106bad59a
commit
2402796334
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ public class WebAuthManager {
|
||||||
sender.sendMessage("Enter username and registration code when prompted on web page (" + publicRegistrationURL.toString() + ") to complete registration");
|
sender.sendMessage("Enter username and registration code when prompted on web page (" + publicRegistrationURL.toString() + ") to complete registration");
|
||||||
if(other) {
|
if(other) {
|
||||||
DynmapPlayer p = core.getServer().getPlayer(uid);
|
DynmapPlayer p = core.getServer().getPlayer(uid);
|
||||||
if(p != null) {
|
if(p != null && sender != p) {
|
||||||
p.sendMessage("The registration of your account for web access has been started.");
|
p.sendMessage("The registration of your account for web access has been started.");
|
||||||
p.sendMessage("To complete the process, access the Login page on the Dynmap map");
|
p.sendMessage("To complete the process, access the Login page on the Dynmap map");
|
||||||
p.sendMessage("Registration code: " + regkey);
|
p.sendMessage("Registration code: " + regkey);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue