User login

bad idea

A Love Song for NodeOne

I've suddenly and inexplicably become obsessed with the idea of the Kitten Killers doing covers of songs that feature the words "no one" in the lyrics replaced with NodeOne.

Searching all my days just to find you
I'm not sure who I'm looking for
I'll know it
When I see you
Until then, I'll hide in my bedroom
Staying up all night just to write
A love song for NodeOne

— John Mayer (almost)

Easiest way to get into a development Drupal site you are locked out of

Edit index.php and right below the first real code line, the bootstrap call, add:

<?php
global $user;
$user->uid = 1;
?>

Refresh any page once, and you are the superuser.

Do not ever do this on a production site as anyone who happens along is made user number one whether they want to be or not.

searched words: user login uid 1 one locked out get in log in forgotten password e-mail not emailing account information cannot sign in help I'm an administrator how did i do this

Syndicate content