Another small patch.
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
package com.jamesquinley.DelegationServices;
|
||||
|
||||
import com.jamesquinley.Asecure.electronicMailHandler;
|
||||
import com.jamesquinley.Asecure.secureCalls;
|
||||
import com.mongodb.BasicDBObject;
|
||||
|
||||
@ -14,8 +15,13 @@ public class localNet {
|
||||
} else
|
||||
{
|
||||
System.out.println("Hey this user Logged In From A new Location, dispatching email!");
|
||||
secureCalls.locationBasedEmail(email,UName,NewMac, OldMac);
|
||||
System.out.println("Switching Trusted Net To New Local");
|
||||
final Runnable runnable = new Runnable() {
|
||||
public void run() {
|
||||
secureCalls.locationBasedEmail(email,UName,NewMac, OldMac);
|
||||
}
|
||||
};
|
||||
runnable.run();
|
||||
System.out.println("Switching Trusted Net To New Local");
|
||||
BasicDBObject searchQuery = new BasicDBObject();
|
||||
searchQuery.append("Token", Token);
|
||||
BasicDBObject updateQuery = new BasicDBObject();
|
||||
|
Reference in New Issue
Block a user