Fix EmailRegistration bypass session

Update to 3.5-SNAPSHOT
This commit is contained in:
Xephi 2014-08-13 22:21:25 +02:00
parent 55c7c4f9e1
commit 7ae951c4ab
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<version>3.4</version> <version>3.5-SNAPSHOT</version>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.bukkit</groupId> <groupId>org.bukkit</groupId>

View File

@ -113,7 +113,7 @@ public class AsyncronousRegister {
try { try {
final String hashnew = PasswordSecurity.getHash( final String hashnew = PasswordSecurity.getHash(
Settings.getPasswordHash, password, name); Settings.getPasswordHash, password, name);
auth = new PlayerAuth(name, hashnew, getIp(), new Date().getTime(), auth = new PlayerAuth(name, hashnew, getIp(), 0,
(int) player.getLocation().getX(), (int) player (int) player.getLocation().getX(), (int) player
.getLocation().getY(), (int) player.getLocation() .getLocation().getY(), (int) player.getLocation()
.getZ(), player.getLocation().getWorld().getName(), .getZ(), player.getLocation().getWorld().getName(),

View File

@ -3,7 +3,7 @@ author: Xephi59
website: http://dev.bukkit.org/bukkit-plugins/authme-reloaded/ website: http://dev.bukkit.org/bukkit-plugins/authme-reloaded/
description: AuthMe prevents people, which aren't logged in, from doing stuff like placing blocks, moving, typing commands or seeing the inventory of the current player. description: AuthMe prevents people, which aren't logged in, from doing stuff like placing blocks, moving, typing commands or seeing the inventory of the current player.
main: fr.xephi.authme.AuthMe main: fr.xephi.authme.AuthMe
version: 3.4 version: 3.5-SNAPSHOT
softdepend: [Vault, ChestShop, Spout, Multiverse-Core, Notifications, Citizens, CombatTag, Essentials, EssentialsSpawn] softdepend: [Vault, ChestShop, Spout, Multiverse-Core, Notifications, Citizens, CombatTag, Essentials, EssentialsSpawn]
commands: commands:
register: register: