Commit f65c4b78 authored by lucha's avatar lucha

Activation form uses post and not get methods now

Should fix issue #20
parent 4593bd83
...@@ -29,10 +29,10 @@ ...@@ -29,10 +29,10 @@
<p><?php _e( 'Please provide a valid activation key.', 'buddypress' ); ?></p> <p><?php _e( 'Please provide a valid activation key.', 'buddypress' ); ?></p>
<form action="" method="get" class="standard-form" id="activation-form"> <form action="" method="post" class="standard-form" id="activation-form">
<label for="key"><?php _e( 'Activation Key:', 'buddypress' ); ?></label> <label for="key"><?php _e( 'Activation Key:', 'buddypress' ); ?></label>
<input type="text" name="key" id="key" value="" /> <input type="text" name="key" id="key" value="<?php echo esc_attr( bp_get_current_activation_key() ); ?>" />
<p class="submit"> <p class="submit">
<input type="submit" name="submit" value="<?php _e( 'Activate', 'buddypress' ); ?>" /> <input type="submit" name="submit" value="<?php _e( 'Activate', 'buddypress' ); ?>" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment